package ru.spb.xmlreshelper.domain;

import com.google.common.base.Objects;

/**
 * @author Nikita.Brazhnikov
 */
public class CDTRecord {
	private Long cdt;
	private String name;
	private String namespace;
	private String type;

	public Long getCdt() {
		return cdt;
	}

	public void setCdt(Long cdt) {
		this.cdt = cdt;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNamespace() {
		return namespace;
	}

	public void setNamespace(String namespace) {
		this.namespace = namespace;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return Objects.toStringHelper(this)
		              .add("cdt", cdt)
		              .add("name", name)
		              .add("namespace", namespace)
		              .add("type", type)
		              .toString();
	}
}
